#include "M3DBase.h"


M3DBase::M3DBase()
{

}

M3DBase::M3DBase(int iDebug)
{
	if (iDebug >= MDBG_VERBOSE) std::cout << "(" << __FILE__ << ") <DBG_VERBOSE> " << __PRETTY_FUNCTION__ << " called." << std::endl;
	m_iDebug = iDebug;
}

int M3DBase::getDebugLevel()
{
	if (m_iDebug == MDBG_ALL) std::cout << "(" << __FILE__ << ") <DBG_ALL> " << __PRETTY_FUNCTION__ << " called." << std::endl;
	return m_iDebug;
}

void M3DBase::setDebugLevel(int iDebug)
{
	if (m_iDebug == MDBG_ALL) std::cout << "(" << __FILE__ << ") <DBG_ALL> " << __PRETTY_FUNCTION__ << " called." << std::endl;
	m_iDebug = iDebug;
}


M3DBase::~M3DBase()
{
	if (m_iDebug >= MDBG_VERBOSE) std::cout << "(" << __FILE__ << ") <DBG_VERBOSE> " << __PRETTY_FUNCTION__ << " called." << std::endl;
}
